package net.pinnoocle.playdao.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author ye
 * @Description
 * @create 2021-10-26 16:57
 */
@Data
public class ShopUserCombination {

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("用户编号")
    private String userNo;

    @ApiModelProperty("微信昵称")
    private String wxName;

    @ApiModelProperty("头像")
    private String headPortrait;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("性别")
    private Integer gender;

    @ApiModelProperty("用户类型")
    private Integer roleType;

    @ApiModelProperty("店铺id")
    private String shopId;

    @ApiModelProperty("邀请人id")
    private String inviterId;

    @ApiModelProperty("邀请人昵称")
    private String inviterName;

    @ApiModelProperty("邀请次数")
    private Integer inviterTimes;

    @ApiModelProperty("来源")
    private String sourceName;

    @ApiModelProperty("最后一次消费时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expenseLastDate;

    @ApiModelProperty("消费时长")
    private Double expenseHour;

    @ApiModelProperty("消费总金额")
    private Double expenseAmount;

    @ApiModelProperty("玩本次数")
    private Integer playTimes;

    @ApiModelProperty("会员级别id")
    private Integer memberLevelId;

    @ApiModelProperty("上次剧本访问时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastVisitScriptTime;

    @ApiModelProperty("上次组局访问时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastVisitGroupTime;
}